package com.group.www.dao.impl;

import com.group.www.pojo.MessageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageInfoDao {

    List<MessageInfo>  queryAll();

    List<MessageInfo> querymessageInfoByUserId(Integer userId);

    List<MessageInfo> querymessageInfoByBrandId(Integer brandId);

    void save(MessageInfo messageInfo);

    void update(MessageInfo entity);

    void delete(MessageInfo entity);
}
